 QT          += opengl

 HEADERS     = glwidget.h \
               window.h \
               Mouse.h \
               Grid.h \
               Common.h \
               pcgsolver/pcg_solver.h \

 SOURCES     = glwidget.cpp \
               glwidget_levelset.cpp \
               main.cpp \
               window.cpp \
               Mouse.cpp \
               Grid.cpp \
               Common.cpp

#optimizaciones y openMP
#QMAKE_CXXFLAGS = -03 -fopenmp -funroll-loops -ffast-math -fomit-frame-pointer
#QMAKE_LFLAGS = -fopenmp

#profiler
QMAKE_CXXFLAGS = -std=c++0x -pg -g
QMAKE_LFLAGS = -pg -g

LIBS += -lblas

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/opengl/2dpainting
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS split.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/2dpainting
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
